phy: rockchip: naneng-combphy: compatible reset with old DT
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 6 Jan 2025 10:00:01 +0000 (18:00 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 6 Mar 2025 06:21:29 +0000 (07:21 +0100)
commitf6965ff321b46eb2ebfa9bb3dbe094ed952b9930
treebec007706dd5093c0be8974707c21ed23fd70031
parent18479849d392127487a257e480d74a6a35ba73ac
phy: rockchip: naneng-combphy: compatible reset with old DT

Origin: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3126ea9be66b53e607f87f067641ba724be24181
Origin: https://git.kernel.org/linus/3126ea9be66b53e607f87f067641ba724be24181
Bug-Debian: https://bugs.debian.org/1095745

The device tree of RK3568 did not specify reset-names before.
So add fallback to old behaviour to be compatible with old DT.

Fixes: fbcbffbac994 ("phy: rockchip: naneng-combphy: fix phy reset")
Cc: Jianfeng Liu <liujianfeng1994@gmail.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20250106100001.1344418-2-amadeus@jmu.edu.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Gbp-Pq: Topic bugfix/arm64
Gbp-Pq: Name phy-rockchip-naneng-combphy-compatible-reset-with-ol.patch
drivers/phy/rockchip/phy-rockchip-naneng-combphy.c